export enum GRID_TYPE {
    //障碍物
    Type_0,
    //正常
    Type_1,
    //起点
    Type_2,
    //目的点
    Type_3,
}

export default class Gird {
    public x: number = 0;
    public y: number = 0;
    public f: number = 0;
    public g: number = 0;
    public h: number = 0;
    public parent: Gird;
    public type = GRID_TYPE.Type_1
}

export enum MOVEWAY {
    //朝8个方向移动
    EightWay,
    //朝上下左右四个方向移动
    FourWay,
}